<?php

	
	$output = $_POST["data"];
	$output = json_decode($output);
	
	$filename = $output[0];
	$result = file_put_contents('C:/Users/Deepako/Downloads/'.$filename, $output[1]);
	
	
	$ex1 = exec("java -jar C:/xampp/htdocs/code/batik/batik-1.7-jre13/batik-1.7/batik-rasterizer.jar C:/Users/Deepako/Downloads/".$filename);
    
	unlink("C:/Users/Deepako/Downloads/".$filename);
	echo $ex1;
	
	
?>	